import { Routes, Route } from "react-router-dom";
import { BrowserRouter } from 'react-router-dom';
import Home from './tobacco/home/index';
import Intro from './tobacco/intro/index';
import Video from './tobacco/video/index';
import Operate from "./tobacco/operate";
import Exam from './tobacco/exam/index';
import Answer from './tobacco/answer/index';
function App() {
  return (
    <BrowserRouter>
      <Routes>
        <Route path="/" element={<Home />} />
        <Route path="/intro" element={<Intro />} />
        <Route path="/video" element={<Video />} />
        <Route path="/operate" element={<Operate />} />
        <Route path="/exam" element={<Exam />} />
        <Route path="/answer" element={<Answer />} />
      </Routes>
    </BrowserRouter>
  );
}

export default App;
